#ifndef FRAME_H_
#define FRAME_H_

#define BUFSZ 64
typedef struct Frame Frame;
struct Frame {
    int id;
    char info[BUFSZ];
    int value;
};

void write_frame_to_pipe(Frame *f, int pipefd);
void read_frame_from_pipe(Frame *f, int pipefd);
void print_frame(Frame *f);
Frame frame_tokenize_cstr(char *line);

#endif //FRAME_H_
